package com.ss.android.article.common.model;

import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;

public class Geography implements Parcelable, Serializable {
    public static final Creator<Geography> CREATOR = new c();
    @SerializedName("latitude")
    public float mLatitude;
    @SerializedName("longitude")
    public float mLongitude;
    @SerializedName("position")
    public String mPosition;

    public Geography() {
    }

    public Geography(float f, float f2, String str) {
        this.mLongitude = f;
        this.mLatitude = f2;
        this.mPosition = str;
    }

    protected Geography(Parcel parcel) {
        this.mLongitude = parcel.readFloat();
        this.mLatitude = parcel.readFloat();
        this.mPosition = parcel.readString();
    }

    public int describeContents() {
        return 0;
    }

    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeFloat(this.mLongitude);
        parcel.writeFloat(this.mLatitude);
        parcel.writeString(this.mPosition);
    }
}